import request from "../utils/request";

export const uploadFileAPI = (fd) => {
  return request({
    method: "POST",
    url: "/upload",
    data: fd,
  });
};

export const userUpdataByIdAPI = (id, data) => {
  return request({
    method: "POST",
    url: `/user_update/${id}`,
    data: data,
  });
};
